INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})


SET(TARGET_H
    plugin.h
)

SET(TARGET_SRC
    controller.cpp
    plugin.cpp
)

SET(TARGET_ADDED_LIBRARIES
    yaml-cpp
    drogon
    trantor
    OCServer
    OCMain
)

SETUP_GROUP()


IF(WIN32)
    SET(TARGET_EXTERNAL_LIBRARIES 
    sqlite3
    )
ENDIF(WIN32)

SETUP_PLUGIN(ControllerAlias)
SETUP_PLUGIN_DEP(ControllerMapServer OCMain)
SETUP_PLUGIN_DEP(ControllerMapServer OCServer)